//医院详细ts接口类型
export interface responesData {
  code: number;
  message: string;
  ok: boolean;
}
//医院详细
export interface hospitalDetail {
  bookingRule: {
    cycle: number;
    releaseTime: string;
    stopTime: string;
    quitDay: number;
    quitTime: string;
    rule: string[];
  };
  hospital: {
    id: string;
    createTime: string;
    updateTime: string;
    isDeleted: number;
    param: {
      hostypeString: string;
      fullAddress: string;
    };
    hoscode: string;
    hosname: string;
    hostype: string;
    provinceCode: string;
    cityCode: string;
    districtCode: string;
    address: string;
    logoData: string;
    intro: string;
    route: string;
    status: number;
    bookingRule: null;
  };
}
//获取医院详细信息的数据类型接口
export interface hospitalDetailData extends responesData {
  data: hospitalDetail;
}
//对应医院的科室接口类型
export interface hospitalDepartment {
  depcode: string;
  depname: string;
  children?: hospitalDepartment;
}
//对应医院的科室接口数组类型
export type hospitalDepartmentData = hospitalDepartment[];
//对应医院的科室接口返回的类型
export interface hospitalDepartmentResponesData extends responesData {
  data: hospitalDepartmentData;
}
//医院挂号预约人数数据接口
export interface hospitalBookingScheduleList {
  workDate: string;
  workDateMd: string;
  dayOfWeek: string;
  docCount: number;
  reservedNumber: number;
  availableNumber: number;
  status: number;
}
//医院详细接口类型
export interface hospitalBaseMap {
  workDateString: string;
  releaseTime: string;
  bigname: string;
  stopTime: string;
  depname: string;
  hosname: string;
}

//医院排号的全部接口
export interface hospitalWorkResponesData extends responesData {
  data: {
    total: number;
    bookingScheduleList: hospitalBookingScheduleList[];
    baseMap: hospitalBaseMap;
  };
}
//返回医生排班的数据
export interface hospitalDoctor {
  id: string;
  createTime: string;
  updateTime: string;
  isDeleted: number;
  param: {
    dayOfWeek: string;
    depname: string;
    hosname: string;
  };
  hoscode: string;
  depcode: string;
  title: string;
  docname: string;
  skill: string;
  workDate: string;
  workTime: number;
  reservedNumber: number;
  availableNumber: number;
  amount: number;
  status: number;
  hosScheduleId: string;
}
//返回医院排班接口的其全部数据
export interface hospitalDoctorList extends responesData {
  data: hospitalDoctor[];
}
//医生的详细信息
export interface hospitalDoctorDetail {
  id: string,
  createTime: string,
  updateTime: string,
  isDeleted: number,
  param: {
    dayOfWeek: string,
    depname: string,
    hosname: string,
  };
  hoscode: string,
  depcode: string,
  title: string,
  docname: string,
  skill: string,
  workDate:string,
  workTime: number,
  reservedNumber:  number,
  availableNumber:  number,
  amount:  number,
  status:  number,
  hosScheduleId:string,
}
//返回医生的详细信息接口
export interface hospitalDoctorResponseData extends responesData {
  data: hospitalDoctorDetail;
}
